package com.bom_samaritano.dao;

public class Person extends VOGeneric {

	public static final String COL_ID = "id";
	public static final String COL_NAME = "name";
	public static final String COL_EMAIL = "email";
	public static final String COL_PHONE = "phone";
	public static final String COL_VACANCY = "vacancy";
	public static final String COL_HAS_CAR = "hascar";
	public static final String TABLE = "person";
	public static final int VERSION = 1;

	private int id;
	private int vacancy;
	private String name;
	private String email;
	private String phone;
	private boolean hascar;

	public Person() {
		super(TABLE);
		// TODO Auto-generated constructor stub
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
		this.putParam(COL_ID, id);
	}

	public int getVacancy() {
		return vacancy;
	}

	public void setVacancy(int vacancy) {
		this.vacancy = vacancy;
		this.putParam(COL_VACANCY, vacancy);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		this.putParam(COL_NAME, name);
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
		this.putParam(COL_EMAIL, email);
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
		this.putParam(COL_PHONE, phone);
	}

	public boolean isHascar() {
		return hascar;

	}

	public void setHascar(boolean hascar) {
		this.hascar = hascar;
		this.putParam(COL_HAS_CAR, hascar);
	}

}
